<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"></head>
<body style="padding:0;margin:0;">
  <div class="input_file_bg">
    <div class="file_input_div">
      <form name="uploader" method="post" action="comment_image_uploader_ok.php" enctype="multipart/form-data">
        <input name="upload_mode" value="new" type="hidden">
        <input name="c_pos" value="0" type="hidden">
        <img src="comment_image_uploader_data/icon_picture.gif" alt="이미지첨부">
        <input name="comment_img" class="file_input_hidden" onchange="javascript:imgcheck_chrome('0');" type="file">
      </form>
    </div>
  </div>

<style type="text/css">
  .file_input_div {position:relative; width:60px; height:18px;margin-right:20px;}
  .input_file_bg{width:100px;padding-top:0px;}
  .file_input_hidden {position:absolute; left:0px; top:0px;height:18px; opacity:0; filter:alpha(opacity=0); -ms-filter:"alpha(opacity=0)"; -khtml-opacity:0; -moz-opacity:0;}
</style>
<script type="text/javascript">
  function imgcheck_chrome(cpos) {
    document.uploader.reset();
    parent.window.alert('로그인 후 이미지를 등록할 수 있습니다.');
    parent.window.open('/member/login_pop.php','','resizable=no,scrollbars=no,width=400,height=290');
  }
</script>

</body></html>